package com.qth.valet.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("driver")
public class Driver {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    private String profileImg;
    private String surname;
    private String name;
    private Integer sex;
    private String phone;
    private String idCard;
    private String idCardFrontImg;
    private String idCardBackImg;
    private String emergencyContact;
    private String emergencyContactPhone;
    private Integer driverType;
    private Date monthlySubscriptionExpires;
    private Integer crownFrequency;
    private Integer crownTime;
    private String driverCardFrontImg;
    private String driverCardBackImg;
    private Date driverCardReceiveTime;
    private Date driverCardExpiresTime;
    private Integer driverAge;
    private Integer driverCarType;
    private Integer status;
    private Integer auditStatus;
    private Long accountBalance;
    private Long withdrawingBalance;

    private String bankName;
    private String bankCardId;

    private Boolean isNoticeRead;

    private Integer vipType;
    private Date vipExpireTime;

    private Date createTime;

    @TableField(exist = false)
    private Integer verifyCode;
    @TableField(exist = false)
    private Double lo;
    @TableField(exist = false)
    private Double la;
    @TableField(exist = false)
    private Long withdrawAmount;
}
